package scct.hys.model;

//影片信息表
public class Movie {
    int id;
    String name;//影片名称
    String director;//导演
    String actors;//主演
    String releaseDate;//上映时间
    String duration;//时长


    public Movie(int id, String name, String director, String actors, String releaseDate, String duration) {

        this.id = id;
        this.name = name;
        this.director = director;
        this.actors = actors;
        this.releaseDate = releaseDate;
        this.duration = duration;
    }

    public Movie() {
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getActors() {
        return actors;
    }

    public void setActors(String actors) {
        this.actors = actors;
    }

    public String getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(String releaseDate) {
        this.releaseDate = releaseDate;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", director='" + director + '\'' +
                ", actors='" + actors + '\'' +
                ", releaseDate='" + releaseDate + '\'' +
                ", duration='" + duration + '\'' +
                '}';
    }
}
